/* server.h                                               *
  * CS4235 - Programming Assignment #1  *
  * Dustin Shiflett & Johannes Schuett        */

#ifndef __HEADERGUARD_SERVER__
#define __HEADERGUARD_SERVER__

/*The longest possible password: 10 characters * 10000 (per M. Hunter in class 6/13)*/
#define MAX_LENGTH 100000
#define MAX_CHARS 10
#define AVG_TIMES 1 /*leave set to 1 for best results since I added the caching stuff*/

/* print functions for debug mode only */
#define dprint(x) if (debug) { printf(x); fflush(stdout); }
#define daprint(x,a) if (debug) { printf(x, a); fflush(stdout); }

/* error or non-debug printing */
#define printError(x) printf(x); fflush(stdout);

#endif /*__HEADERGUARD_SERVER__*/

    /*     itoa(i,c,b);

        i = integer in decimal to be converted
        c = character array where binary value will be stored
        b = base to be converted....2 in this case
     */
